package com.david.course_design.shopping_center.module.goods.goodsDetail.mapper;

import com.david.course_design.shopping_center.module.goods.goodsDetail.entity.GoodsDetail;
import org.apache.ibatis.annotations.Select;
import tk.myBatis.mapper.MyBaseMapper;

public interface GoodsDetailMapper extends MyBaseMapper<GoodsDetail> {

    @Select("SELECT * \n" +
            "FROM t_goods_detail as t\n" +
            "WHERE t.id = #{ id }")
    GoodsDetail selectGoodsDetailById(Integer id);

}